SmartCAT\WP\DB\Repository\RepositoryAbstract S

Total Complexity 28
Dependencies 0
Dependents 0
Total lines 229
Lines of code 113
Logical lines of code 67
Comment lines 71
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
get_one_by()
S
58 3 14
add()
S
61 3 12
update()
S
62 3 11
delete_by_id()
S
64 3 10
get_all_by()
S
58 2 15
get_all()
S
59 2 15
prepare_result()
S
69 2 7
save()
S
70 2 7
get_one_by_id()
S
69 2 6
__construct()
S
75 1 4
get_count()
S
73 1 5
persist()
S
80 1 3
do_flush()
S
100 1 0
flush()
S
77 1 4
to_entity()
S
100 1 0